﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddFile.ascx.cs" Inherits="AddFile" %>
<%@ Register Src="../Common/ImagePath.ascx" TagName="ImagePath" TagPrefix="uc1" %>
<table cellpadding="0" cellspacing="0" width="100%" class="admintable">
    <tr runat="server" id="imgFile">
        <td class="lable">
            Chuyên mục:<strong><span style="color: #ff0000">(*)</span></strong>
        </td>
        <td>
            <asp:DropDownList ID="cmbAlbum" runat="server" Width="325px">
            </asp:DropDownList>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="cmbAlbum"
                ErrorMessage="Chọn chuyên mục" SetFocusOnError="True"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="lable">
            Tiêu đề :<strong><span style="color: #ff0000">(*)</span></strong>
        </td>
        <td>
            <asp:TextBox ID="txtTitle" runat="server" Width="320px" Text=""></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                ID="RequiredFieldValidator2" runat="server" ErrorMessage="Nhập tiêu đề" 
                ControlToValidate="txtTitle" SetFocusOnError="True"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="lable">
        </td>
        <td>
            <uc1:ImagePath ID="ImagePath" runat="server" RequiredFieldValidator="True" />
        </td>
    </tr>
    <tr>
        <td class="lable">
            Vị trí:
        </td>
        <td>
            <asp:TextBox ID="txtViTri" runat="server" Width="60px" Text="0"></asp:TextBox>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtViTri"
                ErrorMessage="Giá trị phải là số" SetFocusOnError="True" ValidationExpression="[0-9]*"></asp:RegularExpressionValidator>
        </td>
    </tr>
</table>
